package com.matt.service.care;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.Date;
import java.util.List;

public interface HLCareBaseService <T, P> {

    T get(String areaId, String staffId, String childId, String id);

    Page<T> page(String areaId, String staffId, String childId, PageRequest pageRequest);

    List<T> dailyRecords(String areaId, String staffId, String childId, Date daily);

//    void delete(String areaId, String staffId, String childId, String id);

    T add(String areaId, String staffd, P param);

//    List<T> addAll(String areaId, String staffId, P param);

}
